fix: use NodeId for output key parts#8547
Conversation
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 02/02/2026, 11:36:53 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Tests: ✅ PassedResults: 507 passed, 0 failed, 0 flaky, 8 skipped (Total: 515) 📊 Browser Reports
|
📝 WalkthroughWalkthroughThe PR introduces a new type import of Changes
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR standardizes the nodeId type used when constructing output asset keys by switching from a local string | number union to the shared NodeId alias from the workflow schema, keeping typing consistent across workflow and asset-related code.
Changes:
- Replace
OutputKeyParts.nodeId’s localstring | number | nulltype with the sharedNodeId | nulltype. - Add a type-only import for
NodeIdfrom the workflow schema.
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 26 kB (baseline 26 kB) • ⚪ 0 BMain entry bundles and manifests
Graph Workspace — 978 kB (baseline 978 kB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration
Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Panels & Settings — 471 kB (baseline 471 kB) • ⚪ 0 BConfiguration panels, inspectors, and settings screens
User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Editors & Dialogs — 2.89 kB (baseline 2.89 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
UI Components — 33.7 kB (baseline 33.7 kB) • ⚪ 0 BReusable component library chunks
Data & Services — 2.72 MB (baseline 2.72 MB) • ⚪ 0 BStores, services, APIs, and repositories
Utilities & Hooks — 25.3 kB (baseline 25.3 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Vendor & Third-Party — 10.7 MB (baseline 10.7 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 7.17 MB (baseline 7.17 MB) • ⚪ 0 BBundles that do not match a named category
|
Summary
Use the shared NodeId type for output asset key construction to keep node id typing consistent across assets and workflow schemas.
Changes
string | numbernodeId type in output key parts with the sharedNodeIdaliasReview Focus
Type consistency for
nodeIdused in output asset key generation.Screenshots (if applicable)
N/A
┆Issue is synchronized with this Notion page by Unito